package cn.fx.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (Store)实体类
 *
 * @author makejava
 * @since 2022-08-24 13:26:33
 */
@Data
public class Store {
    
    /**
    * 唯一标识
    */
    private Long id;
    /**
    * 那个商品
    */
    private Long product_id;
    /**
    * 库存
    */
    private Integer number;

    public Store() {
    }

    public Store(Long id, Long product_id, Integer number) {
        this.id = id;
        this.product_id = product_id;
        this.number = number;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Long product_id) {
        this.product_id = product_id;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }
}
